#ifndef IMAGE_H
#define IMAGE_H

#include <stdlib.h>
#include <stdio.h>
#include <float.h>
#include <string.h>
#include <math.h>
#include "cform.h"

#ifdef __cplusplus
extern "C" {
#endif

#ifdef OPENCV
void *open_video_stream(const char *f, int c, int w, int h, int fps);

image get_image_from_stream(void *p);

image load_image_cv(char *filename, int channels);

int show_image_cv(image im, const char *name, int ms);
#endif // OPENCV



#ifdef __cplusplus
}
#endif

#endif // IMAGE_H